<template>
  <el-dialog title="提示" :visible.sync="dialogVisible" width="98%" append-to-body :close-on-click-modal="false">
    <slot></slot>
  </el-dialog>
</template>
<script>
export default {
  props: {
    title: {
      type: String,
      default: ""
    },
    width: {
      type: Number,
      default: 70
    },
    dialogVisible: {
      type: Boolean,
      default: false
    },
    showOpt: {
      type: Boolean,
      default: true
    },
    showSave: {
      type: Boolean,
      default: true
    }
  },
  methods: {

  }
};
</script>
<style lang="less" scoped>
/deep/ .el-dialog {
  height: calc(100% - 14vh);
  margin-top: 8vh !important;
}

/deep/ .el-dialog__header {
  display: none;
}

/deep/ .el-dialog__body {
  height: 100%;
  padding: 0px;
  box-sizing: border-box;
}
</style>
